//
//  HLDownLoaderManager.h
//  HLDownLoader
//
//  Created by hulian-ios on 17/9/16.
//  Copyright © 2017年 hulian-LB. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HLDownLoader.h"

@interface HLDownLoaderManager : NSObject

@property (nonatomic, strong) NSMutableDictionary *downLoadInfo;


+ (instancetype)shareInstance;

- (void)hl_downLoader:(NSURL *)url downLoadInfo:(DownLoadInfoType)downLoadInfo progress:(ProgressBlockType)progressBlock success:(SuccessBlockType)successBlock failed:(FailedBlockType)failedBlock ;

- (void)pauseWithURL:(NSURL *)url;
- (void)resumeWithURL:(NSURL *)url;
- (void)cancelWithURL:(NSURL *)url;

- (void)pauseAll;
- (void)resumeAll;


@end
